var initDomainURL = require("../../utils/init.env.js");

var {
	apiUrl,
	imageSourceUrl
} = initDomainURL.initDomainURL;

export const httpUrl = {
	guestaddCardPre: apiUrl + '/yx2-guest-room/guestLock/v1/addCardPre', // 录入卡片  1
	addCardPre: apiUrl + '/flats-device/device/lock/v1/addCardPre', // 录入卡片
	delCardPre: apiUrl + '/flats-device/device/lock/v1/delCardPre', //蓝牙删除卡片准备-预操作
	delSingleKeyPre: apiUrl + '/yx2-guest-room/guestLock/v1/delSingleKeyPre', // 蓝牙预删除钥匙(卡|指纹|密码)
	guestdelHouseLockUserBluetoothPre: apiUrl + '/yx2-guest-room/guestLock/v1/delHouseLockUserBluetoothPre', //蓝牙删除锁用户准备  1
	delHouseLockUserBluetoothPre: apiUrl + '/flats-device/device/lock/v1/delHouseLockUserBluetoothPre', //蓝牙删除锁用户准备
	guestopenDoorByBluetooth: apiUrl + '/yx2-guest-room/guestLock/v1/openDoorByBluetooth', // 蓝牙开门  1
	openDoorByBluetooth: apiUrl + '/flats-device/device/lock/v1/openDoorByBluetooth', // 蓝牙开门
	opendoorlog: apiUrl + '/iot-lock/bluetooth/lock/add/opendoorlog', // 蓝牙开门
	getStatusByTenantId: apiUrl + "/flats-applet/houseTenant/v1/getStatusByTenantId", // 查询登陆人员退租|换房待处理数量
	openDoorByRemote: apiUrl + '/flats-device/device/lock/v2/openDoorByRemote', // 开门
	blackList: apiUrl + '/flats-system/blacklist/v1/checkMemberCando/7/', // 黑名单
	
	/********************************** 欠费控锁 **********************************/
	tenantActivationLockCheck: apiUrl + "/flats-device/device/lock/v1/tenantActivationLockCheck/", // 查询租客是否能激活钥匙
	tenantActivationLock: apiUrl + "/flats-device/device/lock/v1/tenantActivationLock/", // 租客激活钥匙
	tenantActivationLockGetLockInfo: apiUrl + '/flats-device/device/lock/v1/tenantActivationLock/getAuth/', // 租客端-蓝牙激活钥匙-获取锁具认证信息
	tenantActiveLockBluetoothSucceed: apiUrl + '/iot-lock/bluetooth/lock/user/enable', // 上报蓝牙开锁成功
	
	/********************************** 门锁处理 **********************************/
	startUpgrade: apiUrl + "/flats-device/lock/upgrade/v1/startUpgrade", // 开始升级
	finishUpgrade: apiUrl + "/flats-device/lock/upgrade/v1/finishUpgrade", // 完成升级
	pagelistUpgradeVersion: apiUrl + "/flats-device/lock/upgrade/v1/pagelistUpgradeVersion", // 分页查询升级版本
	pagelistUpgrade: apiUrl + "/flats-device/lock/upgrade/v1/pagelistUpgrade", // 分页查询升级记录
	
};
